package com.hkbigdata.sybx.mapper;

/**
 * @author liuanbo
 * @creat 2025-06-03-16:14
 * @see 2194550857@qq.com
 */
import com.hkbigdata.sybx.bean.InsurancePolicy;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper

public interface InsurancePolicyMapper {
//    @Select("select * from insurance_policy")
    @Select("select title as title, department as department," +
            " release_date as releaseDate, content as content," +
            " browse_count as browseCount from insurance_policy;\n")
    List<InsurancePolicy> selectAll();
}
